package org.springblade.system.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("blade_provider")
public class Provider implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 租户ID
	 */
	private String tenantId;
	/**
	 * 账号主键
	 */
	private Integer userId;

	/**
	 * 第三方唯一标识
	 */
	private String providerId;

	/**
	 * 第三方类型
	 */
	private String providerType;
}
